![]() |
PATH![]() |
![]() ![]() |
A menu definition ID is supplied to the menu resource 'MENU' or a menu-creation function such as NewMenu to specify which menu definition function to use in creating the menu. The menu definition ID contains the resource ID of the menu definition function.
Menu definition IDs are changed with Appearance Manager 1.0 to support Appearance-compliant menus and menu bars. When mapping is enabled, the pre-Appearance menu definition ID textmenuProc will be mapped to kMenuStdMenuProc , its Appearance-compliant equivalent.
enum {
textmenuProc = 0,
kMenuStdMenuProc = 63,
kMenuStdMenuBarProc = 63
};